package com.hua.designpattern.structural.decorator;

public class ShapeDecoratorDrawBlue extends ShapeDecorator {

	public ShapeDecoratorDrawBlue(Shape target) {
		this.target = target;
	}

	@Override
	public void draw() {
		System.out.println("----before opertion----");
		target.draw();
		drawBlue();
		System.out.println("----after opertion----");

	}

	public void drawBlue() {
		System.out.println("invoke draw blue");

	}

}
